package com.TripMate.system.service;

import com.TripMate.system.model.dto.trips.TripsQueryRequest;
import com.TripMate.system.model.entity.Trips;
import com.TripMate.system.model.vo.FavoritesByTripVO;
import com.TripMate.system.model.vo.TripsVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author dongmianyan
* @description 针对表【trips(行程表)】的数据库操作Service
* @createDate 2024-11-28 16:13:53
*/
public interface TripsService extends IService<Trips> {

    Page<TripsVO> getQueryByAll(Page<TripsVO> pageParam, TripsQueryRequest tripsQueryRequest);

    Page<TripsVO> getQueryByMy(Page<TripsVO> pageParam, TripsQueryRequest tripsQueryRequest, Long userId);

    TripsVO getQueryById(Integer id);

    Page<TripsVO> getlistByAll(Page<TripsVO> pageParam, TripsQueryRequest tripsQueryRequest);
}
